import request from '@/utils/request'

// 所质量单数
export function queryQualityBarChartsSuo(query) {
    return request({
        url: '/statistics/work/quality/bar/suo',
        method: 'post',
        params: query
    })
}

// 科室质量单数
export function queryQualityBarChartsShi(query) {
    return request({
        url: '/statistics/work/quality/bar/shi',
        method: 'post',
        params: query
    })
}
//组质量单数
export function queryQualityBarChartsZu(query) {
    return request({
        url: '/statistics/work/quality/bar/zu',
        method: 'post',
        params: query
    })
}
//排名前10质量单的组别
export function queryQualityBarChartsZuRank(query) {
    return request({
        url: '/statistics/work/quality/bar/rank',
        method: 'post',
        params: query
    })
}

//所工作量统计
export function queryCountBarChartsSuo(query) {
    return request({
        url: '/statistics/work/count/bar/suo',
        method: 'post',
        params: query
    })
}

//科室工作量统计
export function queryCountBarChartsShi(query) {
    return request({
        url: '/statistics/work/count/bar/shi',
        method: 'post',
        params: query
    })
}
//人员工作量统计
export function queryCountBarChartsPeople(query) {
    return request({
        url: '/statistics/work/count/bar/people',
        method: 'post',
        params: query
    })
}

//质量问题统计曲线
export function queryQualityLineCharts(query) {
    return request({
        url: '/statistics/work/total/line/quality',
        method: 'post',
        params: query
    })
}










